package com.pearadmin.pro.modules.sys.repository;

import com.pearadmin.pro.modules.sys.domain.BusinessFile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pearadmin.pro.modules.sys.param.BusinessFileRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;


/**
 * 业务附件中间Repository接口
 *
 * @author ChenJian
 * @date 2021-08-29
 */
@Mapper
public interface BusinessFileRepository extends BaseMapper<BusinessFile>
{
    /**
     * 获取 业务附件中间列表
     *
     * @param request 查询参数
     *
     * @return {@link BusinessFile}
     * */
    List<BusinessFile> selectBusinessFileList(@Param("request") BusinessFileRequest request);


    /**
     * 查询业务附件中间
     *
     * @param id 业务附件中间ID
     * @return 业务附件中间
     */
    public BusinessFile selectBusinessFileById(Long id);
}
